package com.youlai.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.WasteType;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.query.WasteTypeQuery;
import com.youlai.boot.system.model.vo.WasteTypeVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 垃圾类型管理Mapper接口
 *
 * @author youlaitech
 * @since 2025-02-22 16:33
 */
@Mapper
public interface WasteTypeMapper extends BaseMapper<WasteType> {

    /**
     * 获取垃圾类型管理分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<WasteTypeVO> getWasteTypePage(Page<WasteTypeVO> page, WasteTypeQuery queryParams);

}
